PROJECT(HELLO)
MESSAGE(STATUS "project binary dir:" ${PROJECT_BINARY_DIR})
MESSAGE(STATUS "project source dir:" ${PROJECT_SOURCE_DIR})
ADD_SUBDIRECTORY(src bin)

SET(CMAKE_INSTALL_PREFIX /home/zxm/document/Learn/cmake_learn/share)

INSTALL(FILES COPYRIGHT README 
        DESTINATION /home/zxm/document/Learn/cmake_learn/share/doc/t2)
INSTALL(PROGRAMS runhello.sh DESTINATION bin)
INSTALL(DIRECTORY doc/ DESTINATION doc/t2)
        
